using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 员工证明
    /// </summary>
    [SugarTable("EmpCertification")]
    public class EmpCertificationEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 流程号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 所属区域
        /// </summary>
        public string UserArea { get; set; }

        /// <summary>
        /// 联系地址
        /// </summary>
        public string ContractAddress { get; set; }

        /// <summary>
        /// 员工关系
        /// </summary>
        public string ErName { get; set; }

        /// <summary>
        /// 员工关系
        /// </summary>
        public string ErEmail { get; set; }

        /// <summary>
        /// 薪资专员
        /// </summary>
        public string XzName { get; set; }

        /// <summary>
        /// 薪资邮件
        /// </summary>
        public string XzEmail { get; set; }

        /// <summary>
        /// 证明类型
        /// </summary>
        public string CertTypeCode { get; set; }

        /// <summary>
        /// 证明类型名称
        /// </summary>
        public string CertTypeName { get; set; }

        /// <summary>
        /// 证明用途
        /// </summary>
        public string UseReason { get; set; }

        /// <summary>
        /// 证明模版
        /// </summary>
        public string CertTemplate { get; set; }

        /// <summary>
        /// 印章类型
        /// </summary>
        public string SealType { get; set; }

        /// <summary>
        /// 证明获取方式
        /// </summary>
        public string CertGetFun { get; set; }

        /// <summary>
        /// 收件人姓名
        /// </summary>
        public string MailUserName { get; set; }

        /// <summary>
        /// 收件人电话
        /// </summary>
        public string MailPhone { get; set; }

        /// <summary>
        /// 收件人地址
        /// </summary>
        public string MailAddress { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 电子签文档id
        /// </summary>
        public string FileKey { get; set; }

        /// <summary>
        /// 电子签流程id
        /// </summary>
        public string SignFlowId { get; set; }

        /// <summary>
        /// 签署结果描述
        /// </summary>
        public string SignErrorMsg { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        public string StatusName { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// Risk授权码
        /// </summary>
        public string RiskCode { get; set; }

        /// <summary>
        /// 未推送，推送失败，推送成功
        /// </summary>
        public string RiskPushStatus { get; set; }

        /// <summary>
        /// 失败原因
        /// </summary>
        public string RiskPushErrorMsg { get; set; }
    }
}
